var e = require("../../@babel/runtime/helpers/interopRequireDefault").default, a = require("../../config/index"), n = e(require("../../kta/index")), t = getApp().eventBus;

n.default.Page({
    data: {
        phone: "",
        value: ""
    },
    onLoad: function() {
        var e = this;
        this.pageSub = t.on("toAutoChargeSuccessPage", function(a) {
            var n = a.phone, t = a.value;
            e.setData({
                phone: n,
                value: t
            });
        });
    },
    onUnload: function() {
        this.pageSub && this.pageSub.off();
    },
    onShareAppMessage: function() {
        return a.defaultShareContent;
    },
    goToHome: function() {
        wx.navigateTo({
            url: "/pages/queryRemain/index"
        });
    }
});